<script>
export default {
  onLaunch: function (options) {
    // options 获取启动时的参数
    console.log("应用启动路径：", options.path);
  },
  onShow: function (options) {
    console.log("应用启动路径：", options);
  },
  onHide: function () {
    console.log("App Hide");
  },
  globalData: {
    text: "text",
  },
};
</script>

<style lang="scss">
.custom-page {
  background-color: $uni-color-primary;
  margin: 10px 0;
}
/*每个页面公共css */
</style>
